package com.baidu.app.dao;

import java.util.List;

import com.baidu.app.pojo.App;
import com.baidu.app.pojo.AppType;
import com.baidu.app.pojo.Picture;

public interface AppMapper {

	int deleteByPrimaryKey(String id);

	int insert(App record);

	int insertSelective(App record);

	App selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(App record);

	int updateByPrimaryKey(App record);

	void insertPicture(Picture picture);

	void insertAppType(AppType newType);

	List<AppType> getAppTypeByName(String typeName);

	App getAppById(String appid);

	
	
	

}
